package com.rlz.base.util.download.config;


/**
 * Created by RLZ
 * on 2021/4/22
 */
public class InnerConstant {

    //Db 数据库中用到的字段
    public static class Db {
        public static final String ID = "id";
        public static final String DOWNLOAD_URL = "downloadUrl";
        public static final String FILE_PATH = "filePath";
        public static final String SIZE = "size";
        public static final String DOWNLOAD_LOCATION = "downloadLocation";
        public static final String DOWNLOAD_STATUS = "downloadStatus";

        public static final String NAME_TABLE = "download_info";
        public static final String NAME_DB = "download.Db";
    }

    //请求参数中用到的信息
    public static class Request{
        public static final int loading = 10; //下载状态
        public static final int pause = 11; //暂停状态
    }

    public static class Inner{
        public static final String SERVICE_INTENT_EXTRA = "service_intent_extra";

        public static final String EXTRA_INTENT_DOWNLOAD = "rlz_download_extra";
    }

}
